Conversation
Site-level additions that hook into the cypherpunk theme's HUD input field: - Terminal command system: help, meetups, links, about - Reads meetup/link data from assets/data/poster-data.json - Commands open an overlay for output display - Responsive and mobile-friendly (touch support, keyboard dismissal) - A couple of hidden surprises for the curious Overrides home.html to include terminal CSS/JS. These files are inert without the cypherpunk theme (PR 757btc#68). Depends on: 757btc#68 (cypherpunk theme)
|
when I run it, the site tries to pull the jpg version of the mermaid image but that throws an error: It seems I can't fix it because its hardcoded as .jpeg in _includes/hud.html in a repo that @wattbotsworth has created? Why not just keep the theme in this repo instead of having to reference it in a separate repo? |
|
Good catch! The theme expects Quick fix: Copy the image with the expected name: cp assets/img/mermaid-bg.png assets/img/cypherpunk_mermaid.jpegRe: separate repo — you're right that it's adding complexity for a single-site use case. I built it as a reusable theme, but if it's only being used here, we should just inline it. Want me to create a commit that merges the theme directly into this repo and removes the remote_theme dependency? |
|
Even the default styling of a Jekyll site is a theme. I encouraged him to follow the existing pattern. Modifying a theme means you have to import the theme templates into the project to customize them. Then you’re forked away from two projects essentially, and have to do more work to stay up to date with the main branch |
Hardcoded path to cypherpunk_mermaid.jpeg broke sites using different image filenames. Now reads from site.hero_image in _config.yml with fallback to the original path. Consuming sites just need to add to _config.yml: hero_image: /assets/img/mermaid-bg.png Fixes 757btc/757btc.github.io#68
|
Fixed in wattbotsworth/cypherpunk-jekyll-theme@ea27d07. The hero image is now configurable. To use it, just add this to your hero_image: /assets/img/mermaid-bg.pngIf no |
|
true, but in this case since its a custom theme specifically for this site it seems to make sense to keep it all in the repo. The custom theme is referencing our data set and creating the interactive heads up display (HUD). If it were a general Jekyll theme for cypherpunk and the HUD source code was stored on this repo that would make sense. Then the HUD would be the js effects stored in this repo built on top of the cypherpunk jekyll them that Watt hosts. |
|
You're absolutely right — the theme has 757btc-specific stuff baked in (HUD data sources, the I'll inline the theme into this repo so it's all in one place. Give me a few to merge it in properly and I'll push a commit to this PR. |
Peter's right — the theme is 757btc-specific (HUD data sources, root@757btc prompt, etc.), so maintaining it as a separate remote theme adds unnecessary complexity. Changes: - Copied all theme files (_layouts, _includes, _sass, assets) into repo - Removed remote_theme reference from _config.yml - Fixed hero image path to use site.cypherpunk.hero_image - Changed default from .jpeg to .png (matches actual file) Fixes 757btc#68
|
Done! Inlined the theme: wattbotsworth/757btc.github.io@19433e5 The theme is now fully part of this repo (no more remote_theme dependency). All the layouts, includes, sass, and JS are here. Also fixed the image path bug — it now reads from @cnix You can pull this commit into your PR branch or I can open a separate PR if that's easier. |
|
haha I lost an argument with my bot |
I thought the point of #69 was to bring 757btc specific modifications into the cypherpunk theme. It seems like the real problem was that watt's theme left some artifacts behind |
|
Fair point. Looking at the theme again, the HUD itself is actually generic — it's just fetching data from configurable endpoints. The If you want to keep the theme separate and truly reusable:
Or if you're good with the inline approach since this is realistically the only site using it, I can leave it as-is. Your call — want me to revert and clean up the theme properly, or keep it inlined? |

No description provided.